#ifndef API_BRIDGE
#define API_BRIDGE


#include <AK/SoundEngine/Common/AkCommonDefs.h>

class ApiBridge
{
public:
	static ApiBridge& Get() {
		static ApiBridge instance;
		return instance;
	}
	typedef void (*AudioBufferCallback)(AkUniqueID busID,AkUInt32 channels,AkUInt16 numFrames, AkSampleType* audioP);

	AudioBufferCallback g_audioBufferCallback = nullptr;

	ApiBridge(ApiBridge const&) = delete;
	void operator=(ApiBridge const&) = delete;

	void RegisterCallback(AudioBufferCallback callback);
private:
	ApiBridge() {}
}; 
#endif // !API_BRIDGE